<template>
    <div class="button" @click="$emit('click')">
        {{value}}
    </div>
</template>
<script>
export default{
    props:['value']
}
</script>
<style scoped lang="less">
.button{
    cursor: pointer;
    background: #4CB98A;
    line-height: 1em;
    border-radius: 0.2em;
    color: white;
    padding: .4em 1.2em;
}
</style>

